import React from 'react'
import { Carousel } from 'antd';
import lunbo1 from '../../static/img/lunbo/lunbo1.png';
import lunbo2 from '../../static/img/lunbo/lunbo2.png';
import './index.css'
export default function Roll() {

    //轮播图样式
    const contentStyle = {
        height: '500px',
        color: '#fff',
        lineHeight: '500px',
        textAlign: 'center',
    };

    return (
        <div>
            <Carousel autoplay >
                <div>
                    <h3 style={contentStyle}><img src={lunbo1} alt="" /></h3>
                </div>
                <div>
                    <h3 style={contentStyle}><img src={lunbo2} alt="" /></h3>
                </div>
                <div>
                    <h3 style={contentStyle}><img src={lunbo1} alt="" /></h3>
                </div>
                <div>
                    <h3 style={contentStyle}><img src={lunbo2} alt="" /></h3>
                </div>
                <div>
                    <h3 style={contentStyle}><img src={lunbo1} alt="" /></h3>
                </div>
                <div>
                    <h3 style={contentStyle}><img src={lunbo2} alt="" /></h3>
                </div>
                </Carousel>
        </div>
    )
}
